package cn.touna.jss.modules.custom.carmodel.mapper;


import cn.touna.jss.modules.custom.carmodel.entity.Car300SeriesEntity;
import cn.touna.jss.modules.custom.carmodel.entity.JzgSeriesEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JzgSeriesEntityMapper {

    int insert(JzgSeriesEntity record);

    JzgSeriesEntity selectByPrimaryKey(Integer id);

    int updateBySeriesId(JzgSeriesEntity record);

    List<JzgSeriesEntity> selectByPage(
            @Param("brandId") int brandId,
            @Param("pageSize") int pageSize,
            @Param("offset") int offset,
            @Param("seriesName") String seriesName
    );

    int selectCount(
            @Param("brandId") int brandId,
            @Param("seriesName") String seriesName
    );
}